package com.fowo.api.costAccounting.model.bd;

import com.alibaba.excel.annotation.ExcelProperty;
import com.alibaba.excel.annotation.format.DateTimeFormat;
import javax.validation.constraints.*;
import lombok.Data;

/** 会计月份 导入导出辅助模型 */
@Data
public class BdAccperiodmonthExcelPo {

  @Size(max = 50, message = "租户id长度不能超过20")
  @ExcelProperty(value = "租户id")
  private Long tenantId;

  @ExcelProperty(value = "所属组织")
  private Long pkOrg;

  @Size(max = 50, message = "所属会计期间长度不能超过20")
  @ExcelProperty(value = "所属会计期间")
  private String pkAccperiod;

  @Size(max = 50, message = "会计月份长度不能超过20")
  @ExcelProperty(value = "会计月份")
  private String accperiodMonth;

  @Size(max = 50, message = "开始日期长度不能超过20")
  @DateTimeFormat("yyyy年MM月dd日")
  @ExcelProperty(value = "开始日期")
  private java.util.Date beginDate;

  @Size(max = 50, message = "结束日期长度不能超过20")
  @DateTimeFormat("yyyy年MM月dd日")
  @ExcelProperty(value = "结束日期")
  private java.util.Date endDate;

  @Size(max = 50, message = "年月组合信息长度不能超过20")
  @ExcelProperty(value = "年月组合信息")
  private String yearMonth;
}
